package cn.com.tianpeidong.restaurantadmin.common.util.response;

/**
 * @author tianpeidong
 */
public enum ResponseCode {
    SUCCESS(20000,"SUCCESS"),
    ERROR(50000,"ERROR"),

    ;

    private final int code;
    private final String desc;

    ResponseCode(int code,String desc){
        this.code = code;
        this.desc = desc;
    }
    public int getCode(){
        return this.code;
    }

    public String getDesc(){
        return this.desc;
    }

}
